var Q=require('q');
function make_async(){
	return Q.async(function* (){
	let shake=yield shake();
	let rattle=yield rattle();
	let roll=yield roll();
	});
}
//调用shake
function shake(){
	return 'shake';
}
//调用rattle
function rattle(){
	return 'rattle';
}
//调用roll方法
function roll(){
	return 'roll';
}
var total=make_async();
console.log(total);